package com.zmn.plat.model.entity.whitelist;

import java.io.Serializable;
import java.util.Date;

/**
 * 描述: 白名单实体对象
 *
 * @author wangjie
 * @since 2019-07-30
 **/
public class Whitelist implements Serializable {

    /**
     * 描述:id
     **/
    private Integer whitelistId;

    /**
     * 描述:黑名单信息
     **/
    private String whitelistNum;

    /**
     * 描述: 1 IP黑名单,2 用户id黑名单,3 手机号黑名单
     **/
    private Integer whitelistType;

    /**
     * 描述: 创建人
     **/
    private String creater;

    /**
     * 描述: 修改人
     **/
    private String updater;

    /**
     * 描述: 创建时间
     **/
    private Date createTime;

    /**
     * 描述: 修改时间
     **/
    private Date updateTime;

    public Integer getWhitelistId() {
        return whitelistId;
    }

    public void setWhitelistId(Integer whitelistId) {
        this.whitelistId = whitelistId;
    }

    public String getWhitelistNum() {
        return whitelistNum;
    }

    public void setWhitelistNum(String whitelistNum) {
        this.whitelistNum = whitelistNum;
    }

    public Integer getWhitelistType() {
        return whitelistType;
    }

    public void setWhitelistType(Integer whitelistType) {
        this.whitelistType = whitelistType;
    }

    public String getCreater() {
        return creater;
    }

    public void setCreater(String creater) {
        this.creater = creater;
    }

    public String getUpdater() {
        return updater;
    }

    public void setUpdater(String updater) {
        this.updater = updater;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "Whitelist{" +
                "whitelistId=" + whitelistId +
                ", whitelistNum='" + whitelistNum + '\'' +
                ", whitelistType=" + whitelistType +
                ", creater='" + creater + '\'' +
                ", updater='" + updater + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }
}
